package cn.iocoder.yudao.module.asset.dal.dataobject.manager;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

/**
 * 资产管理 DO
 *
 * @author 超级管理员
 */
@TableName("asset_manager")
@KeySequence("asset_manager_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ManagerDO extends BaseDO {

    /**
     * 数据id
     */
    @TableId
    private Integer id;
    /**
     * 资产编号
     */
    private String assetNumber;
    /**
     * 条码编号
     */
    private String barcodeNumber;
    /**
     * 资产名称
     */
    private String title;
    /**
     * 资产分类
     *
     * 枚举 {@link TODO asset_classification 对应的类}
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String assetType;
    /**
     * 品牌
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String brand;
    /**
     * 规格型号
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String specificationModel;
    /**
     * 数量
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer number;
    /**
     * 计量单位
     *
     * 枚举 {@link TODO unit_of_measurement 对应的类}
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String unitOfMeasurement;
    /**
     * 资产原值
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal originalValue;
    /**
     * 取得时间
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private LocalDateTime obtainTime;
    /**
     * 管理部门
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer managementDept;
    /**
     * 管理人
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer managementUser;
    /**
     * 使用部门
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer useDept;
    /**
     * 使用人
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer useUser;
    /**
     * 存放地点
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String storageLocation;
    /**
     * 业务状态
     *
     * 枚举 {@link TODO business_status 对应的类}
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String businessStatus;
    /**
     * 成新率
     *
     * 枚举 {@link TODO newness_rate 对应的类}
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String newnessRate;
    /**
     * 财务记账日期
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private LocalDateTime financialAccountingTime;
    /**
     * 备注
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String remark;
    /**
     * 图片
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String files;


}
